package com.example.demo.entity.pojo;



import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

/**
 * 科室表
 * @TableName department
 */
@Data
public class Department implements Serializable {
    /**
     * 科室id
     */
    @TableId(type = IdType.AUTO)
    private Integer deptId;

    /**
     * 科室名称
     */
    private String deptName;

    /**
     * 院区id
     */
    private Integer areaId;

    /**
     * 科室位置
     */
    private String deptLocation;

    /**
     * 父级科室id
     */
    private Integer parentDeptId;

    /**
     * 科室状态 1:正常 0:禁用
     */
    private Integer deptStatus;

    /**
     * 创建的时间
     */
    private Date deptStartTime;

    private static final long serialVersionUID = 1L;

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public String getDeptLocation() {
        return deptLocation;
    }

    public void setDeptLocation(String deptLocation) {
        this.deptLocation = deptLocation;
    }

    public Integer getParentDeptId() {
        return parentDeptId;
    }

    public void setParentDeptId(Integer parentDeptId) {
        this.parentDeptId = parentDeptId;
    }

    public Integer getDeptStatus() {
        return deptStatus;
    }

    public void setDeptStatus(Integer deptStatus) {
        this.deptStatus = deptStatus;
    }

    public Date getDeptStartTime() {
        return deptStartTime;
    }

    public void setDeptStartTime(Date deptStartTime) {
        this.deptStartTime = deptStartTime;
    }
}